package com.faithbj.device.service;

import java.util.Date;
import java.util.List;

import com.faithbj.device.model.configuration.Pager;
import com.faithbj.device.model.entity.Members;
import com.faithbj.device.model.entity.Reservation;

public interface ReservationService extends BaseService<Reservation, String>{
	
	Pager findReservationByMemberId(Pager pager,Members member);
	
	List<Reservation> findReservationByDeviceId(Date date,String devicesId);

	Pager findReservationCost(Pager pager);

	/**
	 * 通过example查询费用结算情况
	 * @param reservation
	 * @return
	 */
	Pager findReserveCostByExample(Reservation reservation,Integer pageNumber,Integer pageSize);
	
}
